VirtualTimeSchedulerBase.Sleep(TRelative) method¶
Defined in
Type: VirtualTimeSchedulerBaseSystem.Reactive.Concurrency
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public void Sleep(TRelative time)
Summary: Advances the scheduler's clock by the specified relative time.
Parameters
| Name | Type | Description |
|---|---|---|
time | TRelative | Relative time to advance the scheduler's clock by. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException | time is negative. |